-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLUTEN-8018][CORE] Support adjusting stage resource profile dynamically #8209
base: main
Are you sure you want to change the base?
Conversation
Run Gluten Clickhouse CI on x86 |
Thank you for splitting the PR into 2. Let's discuss in #8195 before moving forward to this one. |
8073c47
to
7786636
Compare
Run Gluten Clickhouse CI on x86 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add some tests in this PR? Since the feature seems functional to users after the change. Thanks!
Also, could change [CORE]
to [VL]
in PR title if this is not ready for CH use yet.
@@ -109,6 +109,7 @@ object VeloxRuleApi { | |||
injector.injectFinal(c => RemoveGlutenTableCacheColumnarToRow(c.session)) | |||
injector.injectFinal(c => GlutenFallbackReporter(c.glutenConf, c.session)) | |||
injector.injectFinal(_ => RemoveFallbackTagRule()) | |||
injector.injectFinal(c => GlutenAutoAdjustStageResourceProfile(c.glutenConf, c.session)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move the rule between RemoveGlutenTableCacheColumnarToRow
and GlutenFallbackReporter
? Thanks.
@@ -180,5 +181,6 @@ object VeloxRuleApi { | |||
injector.injectPostTransform(c => RemoveGlutenTableCacheColumnarToRow(c.session)) | |||
injector.injectPostTransform(c => GlutenFallbackReporter(c.glutenConf, c.session)) | |||
injector.injectPostTransform(_ => RemoveFallbackTagRule()) | |||
injector.injectPostTransform(c => GlutenAutoAdjustStageResourceProfile(c.glutenConf, c.session)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
What changes were proposed in this pull request?
It's a follow PR of #8195 and demonstrate how to adjust resource profile through Rule.
How was this patch tested?
Unit test will be updated soon.
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)